"""
函数参数
"""


def add(*args):
    total = 0
    for var in args:
        total += var
    return total


print(add())
print(add(1))
print(add(1, 2))
print(add(1, 2, 3))

print(add(1, 3, 5, 7, 9))
